/*
 * @Author: tcosfish
 * @Date: 2022-08-19 17:34:02
 * @LastEditors: tcosfish
 * @LastEditTime: 2022-08-19 17:34:03
 * @FilePath: \loadFile\src\excel\RyExcel\formatIndex.ts
 */
export function formatIndex(indexs: string[]): string[] {
  return indexs
    .map((i) => {
      if (i.indexOf(",") !== -1) {
        return i.split(",")
      } else {
        return i
      }
    })
    .flat()
}
